﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace blackhouse.BlackApart.Data {
	public interface IApartmentGroupDataAccess {

		// Zapisuje grupę apartamentu i zwraca id zapisanego rekordu
		int SaveApartmentGroup(int id, string name, int numberOfPeople, int locationId, float areaSize);

		// Pobiera grupę 
		ApartmentGroupData GetApartmentGroup(int groupId, string language);

		// Pobierz wszystkie
		ApartmentGroupData[] GetApartmentGroups(string language);

		// Usuwa grupę
		int DeleteApartmentGroup(int groupId);

		// Sprawdza czy grupa istnieje w bazie
		bool CheckExists(int groupId);

		Dictionary<string, object> GetApartmentGroupProperties(int apartmentGroup, string language);

		Dictionary<string, string> GetApartmentGroupArrayProperties(int apartmentGroup, string propertyKey, string language);

		SeoData GetApartmentGroupSeo(int apartmentGroupId, string language);

		ApartmentOptionFieldData[] GetApartmentGroupOptionFields(int groupId, string language);

	}
}
